package com.ruoyi.hk.domain.vo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DocMessageVo {
    private Long msgId;
    private Long senderId;
    private Long receiverId;
    private int messageType;
    private String content;
    private int isRead;
    private LocalDateTime sendTime;
    //发送者信息
    private UserVo sender;
    // 接收者信息
    private UserVo receiver;

    // 未读消息数（用于会话列表显示）
    private Integer unreadCount;
}
